package com.challenge.smsservice.majormanage.service.impl;

import com.challenge.smsbase.Service.impl.GenericManagerImpl;
import com.challenge.smsdao.majormanage.dao.AcademyDao;
import com.challenge.smsdao.majormanage.domain.Academy;
import com.challenge.smsservice.majormanage.service.AcademyManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * luhongyu
 */
@Component
public class AcademyManagerImpl extends GenericManagerImpl<Academy,Long> implements AcademyManager {
    //inherit GenericManagerImpl
    AcademyDao academyDao;

    /**
     * setAcademyDao
     * @param academyDao
     */
    @Autowired
    public void setAcademyDao(AcademyDao academyDao) {
        this.academyDao = academyDao;
        this.dao = this.academyDao;
    }
}
